package org.jim.server.command.handler;

import org.jim.core.ImChannelContext;
import org.jim.core.ImPacket;
import org.jim.core.exception.ImException;
import org.jim.core.packets.Command;
import org.jim.core.packets.Message;
import org.jim.server.ImServerChannelContext;
import org.jim.server.command.AbstractCmdHandler;
import org.jim.server.queue.MsgQueueRunnable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Objects;

public class OtherReqHandler extends AbstractCmdHandler {
    private static Logger logger = LoggerFactory.getLogger(OtherReqHandler.class);
    @Override
    public Command command() {
        return Command.COMMAND_OTHER_RESP;
    }

    @Override
    public ImPacket handler(ImPacket imPacket, ImChannelContext channelContext) throws ImException {
        // 其他未定义的消息
//        logger.info("OtherReqHandler收到消息:{}",imPacket.toString());
        return null;
    }
}
